package com.bw;

import ch.hsr.geohash.GeoHash;
import org.apache.hadoop.hive.ql.exec.UDF;

public class Test1 extends UDF {
    public String evaluate(double jd,double wd,int len){
        GeoHash geoHash = GeoHash.withCharacterPrecision(jd, wd, len);
        return geoHash.toBase32();
    }
}
